CHECK FOR UNDERSTANDING: Review what you learned about refactoring with parameters and return statements.

  • Click Run and look at the stage to see random circles appear.
  • Answer the questions by clicking the correct choice on the stage.

The old version of the code is at the bottom of the editor commented out.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)